<div class="fixed_header" style="position:absolute;">
    <div class="header_main mweb_lookup_bar_has_input">
        <a class="logo symbol_logo"  id="logo"></a>
        <div class="header_action_buttons mweb_lookup_bar_has_input">
            <div class="mweb_lookup_bar_input_wrapper mweb_lookup_bar_input_wrapper_fake" id="headersearchdiv">
                <div class="mweb_lookup_bar_input" style="min-height: 29px;font-size: 14px; color:#BC7F74;">
                    <div id="gotosearch"></div>
                    <input id="searchinput" type="text" placeholder="输入关键词搜索相关新闻" style="width:100%" disabled/>
                </div>
            </div>
        </div>
        <a class="logo symbol_logo"  id="chat1"></a>
    </div>
    <ul class="header_nav">
        <li class="HeaderNavItem HomeNavItem is_active">
            <a id="read1">
                <div class="label">阅读圈</div>
            </a>
        </li>
        <li class="HeaderNavItem OpenQsNavItem">
            <a id="answer1">
                <div class="label">经验圈</div>
            </a>
        </li>
        <li class="NotifsNavItem HeaderNavItem">
            <a id="question1">
                <div class="label">问题圈</div>
            </a>
        </li>
        <li class="ProfileNavItem HeaderNavItem">
            <a id="set1">
                <p id="newnotenotice" style="display:none"></p>
                <div class="label">我</div>
            </a>
        </li>
    </ul>
    <!-- 四个导航-->
    <div class="HeaderSwitcher ReadSwitcher SubHeader">
        <div class="switcher">
            <ul class="inner">
                <li class="HeaderSwitcherItem is_active">
                    <a class="link" id="yours2">
                        <div class="label">阅读圈</div>
                    </a>
                </li>
                <li class="HeaderSwitcherItem">
                    <a class="link" id="zhzx2">
                        <div class="label">综合资讯</div>
                    </a>
                </li>
                <li class="HeaderSwitcherItem">
                    <a class="link" id="hyxw2">
                        <div class="label">行业新闻</div>
                    </a>
                </li>
                <li class="HeaderSwitcherItem">
                    <a class="link" id="xq2">
                        <div class="label">兴趣爱好</div>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
<script>
    document.getElementById("read1").onclick=function(){
        location.href="http://www.pulu.com/home.html";
        $.cookie("readyourcurrentIndex","");
        $.cookie("readyourscrollTop","");
    };
    document.getElementById("answer1").onclick=function(){
        location.href="weixin/questionlistjy.html";
    };
    document.getElementById("chat1").onclick=function(){
        location.href="weixin/chatpage.html";
    };
    document.getElementById("set1").onclick=function(){
        location.href="setpage.html";
    };
    document.getElementById("question1").onclick=function(){
        location.href="weixin/questionlisttw.html";
    };
    document.onkeydown=function(event){
        var e = event || window.event || arguments.callee.caller.arguments[0];
        if(e && e.keyCode==13){ // enter 键
            var word=document.getElementById("searchinput").value;
            if(word){
                if(word.match(/^\s+$/g)){
                    console.log("没有填信息")
                }else{
                    location.href="search.html?searchKey="+word;
                }
            }
        }
    };
    document.getElementById("gotosearch").onclick=function(){
        var word=document.getElementById("searchinput").value;
        if(word){
            if(word.match(/^\s+$/g)){
                console.log("没有填信息")
            }else{
                location.href="search.html?searchKey="+word;
            }
        }
    }
    //二级列表
    document.getElementById("yours2").onclick=function(){
        location.href="http://www.pulu.com/home.html";
    };
    document.getElementById("zhzx2").onclick=function(){
        location.href="http://www.pulu.com/weixin/zonghenews.html";
    };
    document.getElementById("hyxw2").onclick=function(){
        location.href="http://www.pulu.com/weixin/zonghenews1.html";
    };
    document.getElementById("xq2").onclick=function(){
        location.href="http://www.pulu.com/weixin/zonghenews2.html";
    };
    //
    document.getElementById("headersearchdiv").onclick=function(){
        location.href="search.html?searchKey=";
    };
</script>